package com.zzxx.mapper;

import com.zzxx.domain.Traveller;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TravellerMapper {
    @Select("select * from traveller where id in ( select travellerId from order_traveller where orderId = #{ordersId} )")
    List<Traveller> findByOId(String ordersId);
}
